# -*- coding: utf-8 -*-
'''
This module contains a dummy logger function
'''
__version__ = "$Revision 0.0.2 $"

class Dummylogger():
    '''
    Dummy logger function, nothing is really done.
    '''
    def __init__(self):
        '''
        Dummy function
        '''
        self.debugcall = 0
        #This is used to check a specific message
        self.checkmsg = ''
        self.checkok = False
    def debug(self, msg):
        '''
        We count the times that is called
        '''
        if msg == self.checkmsg:
            self.checkok = True
        self.debugcall = self.debugcall + 1
    def setcheck(self, msg):
        '''
        This function sets the checking parameters to 0
        '''
        self.checkmsg = msg
        self.checkok = False
        